package com.cxyjy.common.util;

import lombok.Getter;
import okhttp3.OkHttpClient;

import java.util.concurrent.TimeUnit;

/**
 * @Author: jony
 * @Date : 2025/9/15 16:53
 * @VERSION v1.0
 */
public class HttpUtils {
    @Getter
    private static final OkHttpClient client;

    static {
        client = new OkHttpClient.Builder()
                .connectTimeout(10, TimeUnit.SECONDS)
                .readTimeout(10, TimeUnit.SECONDS)
                .writeTimeout(10,TimeUnit.SECONDS)
                .build();
    }

    private HttpUtils() {}

}
